<template>
  <div class="check" :class="{active: isChecked}">
    <img src="~@/assets/img/shop/tick.svg" alt="">
  </div>
</template>

<script>
  export default {
    name: "CheckButton",
    props: {
      isChecked: {
        type: Boolean
      }
    }
  
  }
</script>

<style scoped>
  .active {
    background-color: red;
  }
  .check {
    /* background-color: #fff; */
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #aaa
  }
  .check img {
    width: 100%;
  }
</style>